package com.example.multitenant.multitenant.config

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration

/**
 * @author xiang
 * @Date 2022/8/31 13:27
 **/

@Configuration
@ConfigurationProperties("multi-tenant")
class MultiTenantProperties(
    var scanPackage: String = "",
    var defaultDb: String = "",
    var defaultGroup: String = "",
    var tenantChangelog: String = "",
    var masterDb: String = "",
    var masterChangelog: String = ""
)